﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000909 RID: 2313
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeliobusUnlockSkillScNotify : IMessage<HeliobusUnlockSkillScNotify>, IMessage, IEquatable<HeliobusUnlockSkillScNotify>, IDeepCloneable<HeliobusUnlockSkillScNotify>, IBufferMessage
	{
		// Token: 0x17001D40 RID: 7488
		// (get) Token: 0x060067AB RID: 26539 RVA: 0x001161A5 File Offset: 0x001143A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeliobusUnlockSkillScNotify> Parser
		{
			get
			{
				return HeliobusUnlockSkillScNotify._parser;
			}
		}

		// Token: 0x17001D41 RID: 7489
		// (get) Token: 0x060067AC RID: 26540 RVA: 0x001161AC File Offset: 0x001143AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeliobusUnlockSkillScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001D42 RID: 7490
		// (get) Token: 0x060067AD RID: 26541 RVA: 0x001161BE File Offset: 0x001143BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeliobusUnlockSkillScNotify.Descriptor;
			}
		}

		// Token: 0x060067AE RID: 26542 RVA: 0x001161C5 File Offset: 0x001143C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusUnlockSkillScNotify()
		{
		}

		// Token: 0x060067AF RID: 26543 RVA: 0x001161CD File Offset: 0x001143CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusUnlockSkillScNotify(HeliobusUnlockSkillScNotify other) : this()
		{
			this.gBJFLMMGGLN_ = other.gBJFLMMGGLN_;
			this.skillId_ = other.skillId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060067B0 RID: 26544 RVA: 0x001161FE File Offset: 0x001143FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusUnlockSkillScNotify Clone()
		{
			return new HeliobusUnlockSkillScNotify(this);
		}

		// Token: 0x17001D43 RID: 7491
		// (get) Token: 0x060067B1 RID: 26545 RVA: 0x00116206 File Offset: 0x00114406
		// (set) Token: 0x060067B2 RID: 26546 RVA: 0x0011620E File Offset: 0x0011440E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GBJFLMMGGLN
		{
			get
			{
				return this.gBJFLMMGGLN_;
			}
			set
			{
				this.gBJFLMMGGLN_ = value;
			}
		}

		// Token: 0x17001D44 RID: 7492
		// (get) Token: 0x060067B3 RID: 26547 RVA: 0x00116217 File Offset: 0x00114417
		// (set) Token: 0x060067B4 RID: 26548 RVA: 0x0011621F File Offset: 0x0011441F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillId
		{
			get
			{
				return this.skillId_;
			}
			set
			{
				this.skillId_ = value;
			}
		}

		// Token: 0x060067B5 RID: 26549 RVA: 0x00116228 File Offset: 0x00114428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeliobusUnlockSkillScNotify);
		}

		// Token: 0x060067B6 RID: 26550 RVA: 0x00116236 File Offset: 0x00114436
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeliobusUnlockSkillScNotify other)
		{
			return other != null && (other == this || (this.GBJFLMMGGLN == other.GBJFLMMGGLN && this.SkillId == other.SkillId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060067B7 RID: 26551 RVA: 0x00116274 File Offset: 0x00114474
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GBJFLMMGGLN != 0U)
			{
				num ^= this.GBJFLMMGGLN.GetHashCode();
			}
			if (this.SkillId != 0U)
			{
				num ^= this.SkillId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060067B8 RID: 26552 RVA: 0x001162CC File Offset: 0x001144CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060067B9 RID: 26553 RVA: 0x001162D4 File Offset: 0x001144D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060067BA RID: 26554 RVA: 0x001162E0 File Offset: 0x001144E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GBJFLMMGGLN != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.GBJFLMMGGLN);
			}
			if (this.SkillId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060067BB RID: 26555 RVA: 0x0011633C File Offset: 0x0011453C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GBJFLMMGGLN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GBJFLMMGGLN);
			}
			if (this.SkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060067BC RID: 26556 RVA: 0x00116394 File Offset: 0x00114594
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeliobusUnlockSkillScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GBJFLMMGGLN != 0U)
			{
				this.GBJFLMMGGLN = other.GBJFLMMGGLN;
			}
			if (other.SkillId != 0U)
			{
				this.SkillId = other.SkillId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060067BD RID: 26557 RVA: 0x001163E4 File Offset: 0x001145E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060067BE RID: 26558 RVA: 0x001163F0 File Offset: 0x001145F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.SkillId = input.ReadUInt32();
					}
				}
				else
				{
					this.GBJFLMMGGLN = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002797 RID: 10135
		private static readonly MessageParser<HeliobusUnlockSkillScNotify> _parser = new MessageParser<HeliobusUnlockSkillScNotify>(() => new HeliobusUnlockSkillScNotify());

		// Token: 0x04002798 RID: 10136
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002799 RID: 10137
		public const int GBJFLMMGGLNFieldNumber = 5;

		// Token: 0x0400279A RID: 10138
		private uint gBJFLMMGGLN_;

		// Token: 0x0400279B RID: 10139
		public const int SkillIdFieldNumber = 9;

		// Token: 0x0400279C RID: 10140
		private uint skillId_;
	}
}
